home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World Tours: Brazil
/
WorldTours: Brazil.iso
/
mac
/
content
/
main.dir
/
00102_Script_print chapter
< prev
next >
Wrap
Text File
|
2007-04-22
|
814b
|
30 lines
global curChapter
on mouseup
doc=new(xtra "PrintOMatic")
register xtra "PrintOMatic", "PMAT173-244-98127"
if objectP(doc) then
setdocumentname doc, "Chapter"&curChapter
-- setLandscapeMode doc, false
if doPageSetup(doc) then
-- newPage doc
-- setTextFont doc,"Arial"
-- setTextSize doc,"28"
-- setTextStyle doc, "bold"
-- setTextJust doc, "centered"
append doc, "Chapter"&curChapter&Return&Return&Return
-- setTextFont doc,"Arial"
-- setTextSize doc,"18"
-- setTextStyle doc, "normal"
-- setTextJust doc, "left"
append doc, member(curChapter,"chapter").text
print doc
end if
doc = void
else
alert "There is no currently selected printer. Printing features are disabled."
end if
end